package com.dk.feign;

import com.dk.bean.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("SPRINGCLOUT_SELLER_APPOINTMENT_SERVICE_DK")//暴露接口
public interface CarManagementFeign {
    @GetMapping(value = "/message/{messageId}")
    Result toSelectById(@PathVariable("messageId") Long messageId);

}
